package com.blast.manager.adapter

import com.blast.manager.R
import com.blast.manager.bean.ReadyErrorModel
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder

class ReadyErrorAdapter : BaseQuickAdapter<ReadyErrorModel,BaseViewHolder>{

    constructor(data: List<ReadyErrorModel>?) : super(R.layout.item_read_error_layout,data)

    override fun convert(helper: BaseViewHolder, item: ReadyErrorModel?) {
        item?.apply {
            helper.setText(R.id.itemNetReadyErrorTitle,title)
            helper.setText(R.id.itemNetReadyErrorSub,des)
        }
    }
}